<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<?php echo $this->Html->charset(); ?>
	<title>
		<?php 
			/**
			 * Print for Pages controller page title or from Cms component
			 */
			echo (empty($title_for_layout_cms))?$title_for_layout:$title_for_layout_cms; 
		?>
	</title>
	
		<meta name="Author" content="Sylwester Kowal"/>
		<meta name="Copyright" content="21w.pl"/>
		<meta name="Language" content="<?php echo Configure::read('Config.language');?>" />	
		
		<?php echo $this->Html->script(array(
			'jquery-1.4.2.min',
			'jquery-ui-1.8.5.custom.min',
			'swfobject/swfobject.js',
			'prettyPhoto/js/jquery.prettyPhoto.js'
		)); ?>
	<?php
		echo $this->Html->meta('icon');echo "\n";
		echo $this->Html->css(array(
			'firma',
			'ui-lightness/jquery-ui-1.8.5.custom',
			'prettyPhoto/css/prettyPhoto.css'));
		
		echo $scripts_for_layout;
	?>
</head>
<body>
<div class="main">
  <div class="clr"></div> 

	<div class="main_body_message">
		<?php echo $this->Session->flash(); ?>
		<?php 
			echo $session->flash();
	    	echo $session->flash('auth');
	    ?>
	</div>
	<?php echo $content_for_layout;?> 
	
  <div class="clr"></div>
</div>
<?php echo $this->element('sql_dump');?>
<?php echo $this->Js->writeBuffer();?>
</body>
</html>
